package com.qidian.mes.produce.mapper;

import com.qidian.mes.pojo.Material;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MaterialMapper {
    Material getList(@Param("material") Material material, int id);
    int addMaterial(Material material);
    Material getPrimary(int materialRelId);

    int updateMaterial(int idOne);
    int updateMaterialTwo(int idTwo,int craftId);

    List<Material> getAll();

}
